package com.acoffee.service;

import com.acoffee.pojo.Goods;
import com.acoffee.pojo.PageBean;
import com.acoffee.pojo.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author acoffee
 * @create 2021-10-30 11:46
 */
public interface UserService {
    boolean queryByUsername(String name);

    void register(User user);

    boolean active(String code);

    User login(String username, String password);

    boolean modPwd(int uid, String newpwd);

    void saveImgPath(String img_path,int uid);
}
